package com.usian.ai.common.vo;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.Size;
import lombok.Data;
import lombok.ToString;

/**
 * @TODO:
 * @Author:baimu
 * @Date:2024 12 03 14 15
 **/
@Data
@ToString
public class LoginReqVo {


    @NotBlank(message = "用户名不能为空")
    String username;

    @NotBlank(message = "密码不能为空")
    @Size(min = 6,max = 16,message = "密码长度为6-16位")
    String password;
}
